<%@ page session="true" language="java"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
<title>Create Defect: IID Defect Tracker</title>
</head>

<body>
<p>This is the create project page of the IID Defect Tracker.</p>

<form:form commandName="commandBean" id="defectForm" name="defectForm"
	action="createDefect.htm" method="post">
	<fieldset><legend>Defect Details</legend> <form:errors
		path="*" cssClass="errorBox" />
	<table>
		<tr>
			<td>Summary:</td>
			<td><form:input path="summary" size="100" maxlength="100" /></td>
		</tr>
		<tr>
			<td>Product/Version:</td>
			<td><form:select path="project">
				<form:options items="${projectList}" itemLabel="label"
					itemValue="value" />
			</form:select></td>
		</tr>
		<tr>
			<td>Step to recreate:</td>
			<td><form:textarea path="stepsToRecreate" rows="10" cols="100" /></td>
		</tr>
		<tr>
			<td>Result:</td>
			<td><form:textarea path="result" rows="10" cols="100" /></td>
		</tr>
		<tr>
			<td>Expected Result:</td>
			<td><form:textarea path="expectedResult" rows="10" cols="100" /></td>
		</tr>
		<tr>
			<td>Workaround:</td>
			<td><form:textarea path="workaround" rows="10" cols="100" /></td>
		</tr>
		<tr>
			<td colspan="3"><input type="submit" value="Save Changes" /></td>
		</tr>
	</table>
	</fieldset>
</form:form>

</body>

</html>